package com.to_door_recycle.common.exception.data;

import com.to_door_recycle.common.enums.ExceptionStatusEnum;

public class RequestDataException extends DataException{
    public RequestDataException(Integer code, String message) {
        super(code, message);
    }
    public RequestDataException(ExceptionStatusEnum statusEnum) {
        super(statusEnum.getCode(), statusEnum.getMessage());
    }
}
